package com.xidian.zhiancloud.service.riskcontrol.risksystem;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xidian.zhiancloud.dao.riskcontrol.risksystem.TRiskEvaluationCycleSettingMapper;
import com.xidian.zhiancloud.model.riskcontrol.TRiskEvaluationCycleSettingList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 系统设置-评价周期设置表
 */
@Service
public class TRiskEvaluationCycleSettingService extends ServiceImpl<TRiskEvaluationCycleSettingMapper, TRiskEvaluationCycleSettingList> {

    @Autowired
    TRiskEvaluationCycleSettingMapper tRiskEvaluationCycleSettingMapper;

    public List<TRiskEvaluationCycleSettingList> getTREvaCycleSettingList(Long companyId){
        return tRiskEvaluationCycleSettingMapper.getTREvaCycleSettingList(companyId);
    }

    public int addTREvaCycleSetting(TRiskEvaluationCycleSettingList tREvaCycleSet){
        return tRiskEvaluationCycleSettingMapper.addTREvaCycleSetting(tREvaCycleSet);
    }


}
